<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>

    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/css/jquery-weui.css">

    <link rel="stylesheet" href="__PUBLIC__/html/bootstrap/css/bootstrap.min.css">

    <script src="__PUBLIC__/html/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="__PUBLIC__/html/jquery-weui/js/jquery-weui.js"></script>

    <script src="__PUBLIC__/html/jquery-weui/js/swiper.js"></script>
</head>
<body>
<style>

    .navtab {
        display: -webkit-flex;
        display: flex;
    }

    .navtab .item {
        -webkit-flex: 1;
        flex: 1;
        line-height: 45px;
        text-align: center;
        color: #333;
    }

    .navtab .item.active {
        color: #36CA71;
        border-bottom: 2px solid #36CA71;
    }
</style>

<div class="navtab">

    <a href="{:U('index',['time'=>date('md'),'id'=>$_GET['id']])}"
       class="item <?php echo ($_GET['time']==date('md'))?'active':''; ?>" style="text-decoration:none;">
        今天 {:date('m-d',time())}
    </a>
    <a href="{:U('index',['time'=>date('md',strtotime('+1 days')),'id'=>$_GET['id']])}"
       class="item <?php echo ($_GET['time']==date('md',strtotime('+1 days')))?'active':''; ?>" style="text-decoration:none;">
        明天 {:date('m-d',(time()+3600*24*1))}
    </a>
    <a href="{:U('index',['time'=>date('md',strtotime('+2 days')),'id'=>$_GET['id']])}"
       class="item <?php echo ($_GET['time']==date('md',strtotime('+2 days')))?'active':''; ?>" style="text-decoration:none;">
        后天 {:date('m-d',(time()+3600*24*2))}
    </a>
    <a href="{:U('index',['time'=>date('md',strtotime('+3 days')),'id'=>$_GET['id']])}"
       class="item <?php echo ($_GET['time']==date('md',strtotime('+3 days')))?'active':''; ?>" style="text-decoration:none;">
        本周{:date('N', (time()+3600*24*3))} {:date('m-d',(time()+3600*24*3))}
    </a>
</div>
<div class="weui_cell">
    <div class="weui_cell_bd weui_cell_primary">
        <foreach name="list" item="val">
            <a href="{:U('Screen/index',['uid'=>$val['uid'],'mid'=>$val['mid'],'stime'=>$val['stime']])}"><p class="movie-name">电影城名称 {$val['uname']}</p></a>
         <!--   <?php var_dump(['uid'=>$val['uid']]);  ?>
            <?php var_dump(['mid'=>$val['mid']]);  ?>
            <?php var_dump(['stime'=>$val['stime']]);  ?>-->
            <p class="movie-summary">电影城地址 {$val['uad']}</p>
            <p class="movie-description">最近播放时间 {:date('H点i分',$val['stime'])}</p>
        </foreach>
    </div>
</div>

</body>
</html>